home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Snippets / Platforms & Tools / MacApp / MouseInfo 1.0 / UMouseInfo.h < prev    next >
Encoding:
Text File  |  1992-04-29  |  1006 b   |  56 lines  |  [TEXT/MPS ]

  1. //     UMouseInfo.h 
  2. //     Copyright © 1992 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TMapApplication class, the base application class
  5. //    for the MouseInfo application
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9.  
  10.  
  11. // INCLUDE FILES
  12.  
  13. #ifndef __MOUSEINFO__
  14. #define __MOUSEINFO__
  15.  
  16. #ifndef __INCLUDEFILES__
  17. #include "IncludeFiles.h"
  18. #endif
  19.  
  20. #ifndef __MOUSEDOCUMENT__
  21. #include "UMouseDocument.h"
  22. #endif
  23.  
  24. #ifndef __APPFRAMEADORNER__
  25. #include "UAppFrameAdorner.h"
  26. #endif
  27.  
  28. //    Our About Box support
  29. #ifndef __ABOUT__
  30. #include "About.h"
  31. #endif
  32.  
  33.  
  34.  
  35. //    CLASSES
  36. //    TMapApplication, our application class
  37. class TMapApplication : public TApplication
  38. {
  39. public:
  40.     TMapApplication();
  41.     virtual pascal void IMapApplication(OSType fileType,
  42.                                         OSType creator);
  43.     virtual pascal TDocument* DoMakeDocument(CommandNumber,
  44.                                              TFile*);
  45.  
  46.     virtual pascal void DoAboutBox();
  47.  
  48.     virtual pascal RgnHandle GetSleepRegion();
  49. };
  50.  
  51.  
  52.  
  53.  
  54. #endif __MOUSEINFO__
  55.  
  56.